<template>
  <el-popover placement="bottom-start" trigger="click" width="250">
    <p>{{searchInput}}</p>
    <el-input
      slot="reference"
      v-model="searchInput"
      prefix-icon="el-icon-search"
      placeholder="请输入内容"
      size="medium"
      v-on:keyup="searchResults()">
    </el-input>
  </el-popover>
</template>

<script>
export default {
  name: "Search",
  data() {
    return {
      searchInput: '',
    }
  },
  methods: {
    searchResults() {

    }
  }
}
</script>

<style scoped>

</style>
